import request from '@/utils/request'

export const login = data => {
  return request({
    url: '/auth/login',
    method: 'post',
    data
  })
}

export const getUserInfo = data => {
  return request({
    url: '/BackstageUser/GetHomePage',
    method: 'post',
    data
  })
}
